/*****************************************************************
**                                                             	**
**  Copyright (C) 2004 Amlogic,Inc.                            	**
**  All rights reserved                                        	**
**        Filename : aw_user_init.h /Project:AVOS demo		        **
**        Revision : 1.1                                       	**
**                                                             	**
*****************************************************************/
#ifndef __AW_USER_INIT_H_
#define __AW_USER_INIT_H_

#include "includes.h"
#include "aw_windows.h"
#include "user.h"

extern HWND	gRootWin;			/* root window */

extern INT32S AWDefWinProc(PHWND sur_wnd, INT32U msg_type, INT32S msg_para) ;
extern void RegisterAllInputDev() ;

extern void AWGUIGetInfo(void * pInfo) ;
extern void AWGUIMsgProcess(AWMSG *pMsg) ;
extern void AWWinMain(void *opt);
extern void AWSysGetInfo(void *PInfo) ;
extern void AWSysMsgProcess(AWMSG *pMsg) ;
extern void AWSysTaskProcess(void *opt) ;
extern void AVITaskProcess(void *opt) ;
extern void AVIGetInfo(void *PInfo) ;
extern void AWAVIMsgProcess(AWMSG *pMsg) ;
#ifdef SUPPORT_RM
extern void RMTaskProcess(void *opt) ;
extern void RMGetInfo(void *PInfo) ;
extern void AWRMMsgProcess(AWMSG *pMsg) ;
#endif
extern void VOBTaskProcess(void *opt) ;
extern void VOBGetInfo(void *PInfo) ;
extern void AWVOBMsgProcess(AWMSG *pMsg) ;
extern void PICTaskProcess(void *opt) ;
extern void PICAppGetInfo(void *PInfo) ;
extern void AWPICMsgProcess(AWMSG *pMsg) ;
extern void gPlayerTaskProcess(void *opt) ;
extern void gPlayerAppGetInfo(void *PInfo) ;
extern void AWGPLAYERMsgProcess(AWMSG *pMsg) ;
extern void TxtTaskProcess(void *opt) ;
extern void TxtAppGetInfo(void *PInfo) ;
extern void AWTXTMsgProcess(AWMSG *pMsg) ;
void RegisterAllUseApp();
void AWWinUserInitial(void);
#ifdef ENABLE_NETWORK
extern void AWNetMsgProcess(AWMSG *pMsg) ;
void AWNetTaskProcess(void *opt);
#endif
#endif
